package com.example.myproject.client;

import com.allen_sauer.gwt.voices.client.Sound;
import com.allen_sauer.gwt.voices.client.SoundController;


public class Voices  {
 
 // create sound controller
 static SoundController soundController = new SoundController();
 
 // create the voice ConfigureModules
 final static Sound voicesConfiguredModules = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
 "Voices/ConfiguredModules.mp3");
 
 // create the voice MinimumConfig
 final static Sound voicesMinimumConfig = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
 "Voices/MinimumConfig.mp3");
 
 // create the voice SavedModifications
 final static Sound voicesSavedModifications = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
 "Voices/SavedModifications.mp3");
 
 // create the voice SuccessfullCoordinateInput
 final static Sound voicesSuccessfulCoordinateInput = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
 "Voices/SuccessfulCoordinateInput.mp3");
 
 public static void playConfiguredMod(){
  voicesConfiguredModules.play();
 }
 public static void playMinimumConfig(){
  voicesMinimumConfig.play(); 
 }
 public static void playSavedModifications(){
  voicesSavedModifications.play();
 }
 public static void playSuccessfulCoordinateInput(){
  voicesSuccessfulCoordinateInput.play();
 }
}